<?php /* Smarty version Smarty-3.1.16, created on 2016-03-09 11:45:19
         compiled from "E:\workspacePhp\phpb2cdemo\manage\page\panel\panel.html" */ ?>
<?php /*%%SmartyHeaderCode:2633456cd9fcf656db7-29412390%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'e380ab3a7e6561246d558dc4962abc86f3101928' => 
    array (
      0 => 'E:\\workspacePhp\\phpb2cdemo\\manage\\page\\panel\\panel.html',
      1 => 1457523882,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2633456cd9fcf656db7-29412390',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.16',
  'unifunc' => 'content_56cd9fcf7832f4_37924733',
  'variables' => 
  array (
    'charset' => 0,
    'rootMenus' => 0,
    'userInfo' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_56cd9fcf7832f4_37924733')) {function content_56cd9fcf7832f4_37924733($_smarty_tpl) {?><!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>后台控制面板</title>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $_smarty_tpl->tpl_vars['charset']->value;?>
" />
    <?php echo getCommon('');?>
 
	<?php echo getPlugSingle('belatedPNG');?>

	<?php echo getPageCss('panel/css/panel.css');?>

	<?php echo getPlugSingle('audioPlay');?>

	<?php echo getPlugSingle('uiDialog');?>

	<?php echo getPlugSingle('uiSelect');?>

	<?php echo getPlugSingle('easyui');?>

	<?php echo getPlugSingle('uploadify');?>

	<?php echo getPlugSingle('ztree');?>

    <link href="" rel="stylesheet" type="text/css" id="skinSelected"/>
	<script>		
		window.gMaintime = 0;
		try{
			window.gMaintime = (new Date()).getTime();
		}catch(e){}(
			function(){
				var a = ['header','footer','section','aside','article','nav','hgroup','figure','figcaption','time','mark','output','meter','menus'];
				for(var i=0,m=a.length;i<m;i++){
					document.createElement(a[i]);
				}
			}
		)();
    	var rootMenus = <?php echo $_smarty_tpl->tpl_vars['rootMenus']->value;?>
;
    </script>
    <script type="text/javascript">
    	/**
    	 * @author yukaizhao
    	 */
    	 
    	$.extend($.fn.validatebox.defaults.rules, {
    	    /*必须和某个字段相等*/
    	    equalTo: {
    	        validator:function(value,param){
    	            return $(param[0]).val() == value;
    	        },
    	        message:'字段不匹配'
    	    }
    	});
    	
    	
		var SITE_GLOBAL_URL = '<?php echo @constant('SITE_GLOBAL_URL');?>
';
		var sessionId = '<?php echo $_COOKIE['sessionId'];?>
';
   	</script>
</head>
<body>
    <header id="divFrameTop">
    	<div class="logo">
        	<a href="#" class="png_bg">
            </a>
        </div>
        <div class="info">
        	<a class="welcome first" href="javascript:void(0)">
            	欢迎光临<?php echo $_smarty_tpl->tpl_vars['userInfo']->value['userLoginId'];?>

            	<b class="arrow"></b>
            </a>
            <span>|</span>
            <a href="javascript:void(0)" id="faceselected" url="faceselected/faceselected.html">换肤</a>
            <span>|</span>
            <a href="javascript:void(0)">帮助</a>
            <span>|</span>
            <a href="javascript:void(0)" id="exitSystem" class="last">退出</a>
        </div>
        <div id="ui-msg-account">
            <div class="row">
                用户帐号：<?php echo $_smarty_tpl->tpl_vars['userInfo']->value['userLoginId'];?>

            </div>
            <div class="row sound">
                当前音效状态:<s>开启</s>&nbsp;&nbsp;<img src="images/disc.gif" width="16" height="12" class="open-sound png_bg" align="absmiddle"/><a href="javascript:void(0)" class="changeStateSound open">切换状态</a>
            </div>
            <div class="row last">
                <a href="javascript:updateUserInfo(<?php echo $_smarty_tpl->tpl_vars['userInfo']->value['userId'];?>
)">帐户管理</a>|<a href="javascript:updateUserPwd(<?php echo $_smarty_tpl->tpl_vars['userInfo']->value['userId'];?>
);">密码修改</a>
            </div>
            <div class="top-line"></div>
            <div class="link"></div>
            <div class="bottom-line"></div>
        </div>
        <div class="search">
        	<div type="text" class="text">
            	<label>搜索模块</label>
                <input class="ins" type="text"/>
                <div class="arrow"></div>
            </div>
            <div class="btn">
            	<div class="ico png_bg"></div>
            </div>
        </div>
        <menus class="menus">
        	<ul>
                
            </ul>
        </menus>
        <div class="line"></div>
        <div class="status">加载中...</div>
        <div class="op-result">邮箱皮肤设置成功</div>
    </header>
    <div id="menus_op_tab_options">
        <div class="menuitem">
            <div class="icon close"></div>
            关闭全部
        </div>
        <div class="dividing-line"></div>
        <div class="menuitem">
            首页
        </div>
        <div class="menuitem">
            管理中心
        </div>
        <div class="menuitem">
            收件箱
        </div>
    </div>
    <div id="serach-menu" class="ztree">
    	
    </div>
    <section id="frame-main">
    	<div id="divFrameMainNav">
        	<ul class="main-nav">
            </ul>
        </div>
        <section id="secContent">
            <div class="secContentPage" url="index/index.html">
            	<div class="index-left">
                    <div class="main">
                        <div class="title">欢迎独门绝学来到我们的企业办公ggwork平台，希望你有全新的体验。</div>
                        <div class="summary">
                            <div class="tx">
                                未读邮件：<a href="#">收件箱 <font>19</font> 封</a>，<a href="#">流程 <font>32</font> 封</a>
                            </div>
                            <div class="stitle">
                                邮箱容量：
                            </div>
                            <div class="progressBar">
                                <div class="energy" style="width:10%;"></div>
                            </div>
                            <div class="capacity">
                                30MB/300MB
                            </div>
                        </div>
                        <div class="last-login">
                            <font>当前登录时间：</font>2014/03/24/ 09:04&nbsp;&nbsp;&nbsp;&nbsp;ip:127.0.0.1&nbsp;&nbsp;&nbsp;&nbsp;<font>最近登录：</font>2014/03/24/ 09:04&nbsp;&nbsp;&nbsp;&nbsp;ip:127.0.0.1<a>详情</a>
                        </div>
                        <div class="tab-title">
                            <div class=" tab-title-main">
                                <div class="tab-item tab-selected">
                                    系统特色
                                    <div class="r-border"></div>
                                </div>
                                <div class="tab-item">
                                    快捷入口
                                    <div class="r-border"></div>
                                </div>
                                <div class="setting"></div>
                            </div>
                        </div>
                        <div class="tab-content">
                            <div class="content current">
                            	<img src="images/av1.png" class="png_bg" align="absmiddle"/>
                            </div>
                            <div class="content" style="background-color:#FAFAFA;">
                            	<img src="images/av2.png" class="png_bg" align="absmiddle"/>
                            </div>
                            <div class="content" style="background-color:#FAFAFA;">
                            	<img src="images/av3.png" class="png_bg" align="absmiddle"/>
                            </div>
                            <div class="content" style="background-color:#FAFAFA;">
                            	<img src="images/av4.png" class="png_bg" align="absmiddle"/>
                            </div>
                            <div class="content" style="background-color:#FAFAFA;">
                            	<img src="images/av5.png" class="png_bg" align="absmiddle"/>
                            </div>
                            <div class="slide-tab">
                                <div class="item current"></div>
                                <div class="item"></div>
                                <div class="item"></div>
                                <div class="item"></div>
                                <div class="item"></div>
                            </div>
                        </div>
                        <div class="tab-content" style="display:none;">
                            <div class="item-icon">
                                <div class="icon i1 png_bg"></div>
                                <div class="item-content">
                                    <div class="stitle">电子表单</div>
                                    <div class="text">选择各种配置好的表单模板，
                                    以方便您快速建立不同需求
                                    的表单格式。</div>
                                    <div class="btn">立即进入使用</div>
                                </div>
                            </div>
                            <div class="item-icon">
                                <div class="icon i2 png_bg"></div>
                                <div class="item-content">
                                    <div class="stitle">新建表单</div>
                                    <div class="text">创建各种类型的表单模板，
                                    以方便您需要该类类型模板
                                    的时候直接套用。</div>
                                    <div class="btn">立即进入使用</div>
                                </div>
                            </div>
                            <div class="item-icon">
                                <div class="icon i3 png_bg"></div>
                                <div class="item-content">
                                    <div class="stitle">邮件项目</div>
                                    <div class="text">点击这吧，直接快速的发送
                                    您需要发送的邮件。</div>
                                    <div class="btn">立即进入使用</div>
                                </div>
                            </div>
                            <div class="item-icon">
                                <div class="icon i4 png_bg"></div>
                                <div class="item-content">
                                    <div class="stitle">邮件夹子</div>
                                    <div class="text">把邮件按照一定类型进行分
                                    类，把同种类型的邮件放入
                                    邮件夹里，方便您查看。</div>
                                    <div class="btn">立即进入使用</div>
                                </div>
                            </div>
                            <div class="item-icon">
                                <div class="icon i5 png_bg"></div>
                                <div class="item-content">
                                    <div class="stitle">设置提醒</div>
                                    <div class="text">设置您需要的提醒邮件的类
                                    型，我们会在聊天工具为您
                                    第一时间进行提示。</div>
                                    <div class="btn">立即进入使用</div>
                                </div>
                            </div>
                            <div class="item-icon">
                                <div class="icon i6 png_bg"></div>
                                <div class="item-content">
                                    <div class="stitle">管理入口</div>
                                    <div class="text">进入这里管理您的帐号，好
                                    友、及其访客。</div>
                                    <div class="btn">立即进入使用</div>
                                </div>
                            </div>
                            <div class="auto-height"></div>
                        </div>
                        <div class="footer">
                            <div class="item first">
                                <a href="#">桌面快捷方式</a>
                            </div>
                            <div class="item">
                                <a href="#">官方首页</a>
                            </div>
                            <div class="item">
                                <a href="#">我的收件箱</a>
                            </div>
                            <div class="item last">
                                <a href="#">GG快聊</a>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="index-right">
                    <div class="main">
                        <div class="tab-addons">
                            <div class="tab tab-selected">公告</div>
                            <div class="tab">天气</div>
                            <div class="tab">新闻</div>
                            <div class="setting"></div>
                        </div>
                        <div class="tab-content">
                            ——GG更新: 2014-03-05 V2.3.5  <br/>
                            新增离线消息禁发限制<br/> 
                            优化访客统计排序问题<br/>               
                            修复关键词提取问题
                        </div>
                        <div class="tab-content" style="display:none;" id="weather">
                            <!--<iframe style="margin-top:10px;" src="http://m.weather.com.cn/m/pn12/weather.htm" width="212" height="110" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>-->
                        </div>
                        <div class="tab-content" style="display:none;" id="news_ul">
                            <!--<script type="text/JavaScript" src="http://news.baidu.com/ns?word=title%3A%D7%D4%BC%DD&tn=newsfcu&from=news&cl=2&rn=3&ct=0" charset="gb2312"></script>-->
                        </div>
                        <img src="images/img1_s1.png"/>
                        <img src="images/img2_s1.png"/>
                    </div>
                </div>
            </div>
            <div class="secContentPage" url="faceselected/faceselected.html" style="display:none;">
            	<div class="face-cate">
                    <div class="title">主题皮肤</div>
                    <div class="faces">
                        <div class="face" url="manage/style/page/panel/skin/pinkskin/css/skin.css">
                            <div class="img-frame">
                                <div class="img i1"></div>
                            </div>
                            <div class="desc">可爱女生</div>
                        </div>
                        <div class="auto-height"></div>
                    </div>
                    <div class="auto-height"></div>
                </div>
                <div class="face-cate">
                    <div class="title">基础皮肤</div>
                    <div class="faces">
                        <div class="face" url="manage/style/page/panel/skin/greenskin/css/skin.css">
                            <div class="img-frame">
                                <div class="img i3"></div>
                            </div>
                            <div class="desc">清新绿(默认)</div>
                        </div>
                        <div class="face" url="manage/style/page/panel/skin/violetskin/css/skin.css">
                            <div class="img-frame">
                                <div class="img i4"></div>
                            </div>
                            <div class="desc">尊贵紫</div>
                        </div>
                        <div class="face" url="manage/style/page/panel/skin/goldenskin/css/skin.css">
                            <div class="img-frame">
                                <div class="img i5"></div>
                            </div>
                            <div class="desc">贵族金</div>
                        </div>
                        <div class="face" url="manage/style/page/panel/css/manage.css">
                            <div class="img-frame">
                                <div class="img i2"></div>
                            </div>
                            <div class="desc">天空蓝</div>
                        </div>
                        <div class="auto-height"></div>
                    </div>
                    <div class="auto-height"></div>
                </div>
            </div>
        </section>
    </section> 
    <footer id="footer">
    	<div class="skin-item skin-top"></div>
        <div class="skin-item skin-top-left"></div>
        <div class="skin-item skin-top-right"></div>
        <div class="skin-item skin-left"></div>
        <div class="skin-item skin-left-top"></div>
        <div class="skin-item skin-right"></div>
        <div class="skin-item skin-right-hack"></div>
        <div class="skin-item skin-bottom"></div>
        <div class="skin-item skin-bottom-left"></div>
        <div class="skin-item skin-bottom-right"></div>
        <div id="skinFullScreen" class="skin-item skin-fullScreen"></div>
    </footer>
    <script type="text/javascript">
    	
    </script>
    <!--添加资讯-->
    <div class="ui-msgbox-normal" id="inputInfoDiv">
    	<div class="ui-form">
        	<div class="ui-form-title">输入邮件夹名称</div>
            <div class="ui-form-text">
            	<div class="input-frame">
                	<input type="text" name="mailFolder"/>
                </div>
            </div>
            <div class="auto-height"></div>
        </div>
    </div>
    <?php echo getPageJs('index/addInput.js');?>

    <!--确认框-->
    <div class="ui-msgbox-confirm" id="confirmUI">
    	<span class="ui-msgbox-confirm-ico"></span>
        <div class="ui-msgbox-confirm-text">
        	<div class="ui-msgbox-confirm-title">确认删除该邮件夹</div>
            您确定要彻底"删除"当前选择的邮件夹吗？
        </div>
        <div class="auto-height"></div>
    </div>
    <div id="flexBtn" class="open">
    	<b class="png_bg"></b>
    </div>
    <div id="updateUserPwd" class="easyui-dialog" title="修改用户密码" closed="true" style="width:260px;height:170px;padding:10px"
   	data-options="
			iconCls: 'icon-add',
			buttons: [{
				text:'确认',
				iconCls:'icon-ok',
				handler:function(){
					$('#updateUserPwdForm').form('submit', {
						url : '/manage/systemmanage/systemusermanage/UserManage/updateUserInfo',
						onSubmit : function() {
							return $(this).form('validate');//对数据进行格式化
						},
						success : function(data) {
							eval('var dataJson='+data);
							if(dataJson.result==true){
								$.messager.show({
									title : '提示',
									msg :'您已成功修改该用户密码!'
								});
								$('#updateUserPwd').dialog('close');
							}else{
								$.messager.show({
									title : '提示',
									msg :'修改失败请重试！'
								});
							}
						}
					});
				}
			},{
				text:'取消',
				handler:function(){
					$('#updateUserPwd').dialog('close');
				}
			}],
			onResize:function(){
				$(this).dialog('center');
			}
		">
		<form id="updateUserPwdForm" method="post">
	    	<table cellpadding="5">
	    		<tr>
	    			<td>输入密码:</td>
	    			<td><input type="hidden" name="userId"/><input id="password2" class="easyui-textbox" type="password" name="userPwd" data-options="required:true,validType:'length[6,20]'"></input></td>
	    		</tr>
	    		<tr>
	    			<td>确认密码:</td>
	    			<td><input id="repassword2" class="easyui-textbox" type="password" name="subject" data-options="required:true" validType="equalTo['#password2']" invalidMessage="两次输入密码不匹配"></input></td>
	    		</tr>
	    	</table>
	    </form>
	</div>
	<div id="updateUser" class="easyui-dialog" title="修改用户" closed="true" style="width:300px;height:450px;padding:10px"
   	data-options="
			iconCls: 'icon-add',
			buttons: [{
				text:'确认',
				iconCls:'icon-ok',
				handler:function(){
					$('#updateUserForm').form('submit', {
						url : '/manage/systemmanage/systemusermanage/UserManage/updateSelfUserInfo',
						onSubmit : function() {
							return $(this).form('validate');//对数据进行格式化
						},
						success : function(data) {
							eval('var dataJson='+data);
							if(dataJson.result==true){
								$.messager.show({
									title : '提示',
									msg :'您已成功修改用户'
								});
								$('#updateUser').dialog('close');
								$('#userTable').datagrid();
							}else{
								$.messager.show({
									title : '提示',
									msg :'修改失败请重试！'
								});
							}
						}
					});
				}
			},{
				text:'取消',
				handler:function(){
					$('#updateUser').dialog('close');
				}
			}],
			onResize:function(){
				$(this).dialog('center');
			}
		">
		<form id="updateUserForm" method="post">
	    	<table cellpadding="5">
	    		<tr>
	    			<td>手机号码:</td>
	    			<td><input type="hidden" name="userId"/><input class="easyui-textbox" type="text" name="userPhone"></input></td>
	    		</tr>
	    		<tr>
	    			<td>电话号码:</td>
	    			<td><input class="easyui-textbox" type="text" name="userTel"></input></td>
	    		</tr>
	    		<tr>
	    			<td>性别:</td>
	    			<td>
	    				<select class="easyui-combobox" panelHeight="auto" name="userSex" data-options="required:true">
	    					<option value="1">男</option>
	    					<option value="2">女</option>
	    					<option value="3">其他</option>
	    				</select>
	    			</td>
	    		</tr>
	    		<tr>
	    			<td>QQ号码:</td>
	    			<td><input class="easyui-textbox" type="text" name="userQQ"></input></td>
	    		</tr>
	    		<tr>
	    			<td>email:</td>
	    			<td><input class="easyui-textbox" type="text" name="userEmail" validType="email"></input></td>
	    		</tr>
	    		<tr>
	    			<td>上传头像:</td>
	    			<td><button id="uploadUpdateAvater" class="uploadAvater" style="height:20px;"></button></td>
	    		</tr>
	    		<tr>
	    			<td>&nbsp;</td>
	    			<td>
	    				<input name="userAvatarId" type="hidden"/>
	    				<div id="showUpdateUserPhoto"></div>
	    			</td>
	    		</tr>
	    	</table>
	    </form>
	</div>
    <?php echo getPageJs('panel/panel.js');?>

</body>
</html><?php }} ?>
